-
Home
-
WooCommerce Attribute Stock – Shared Stock & Variable Quantities (Lite Version)
-
1.5.7
-
Code
-
Classes
- Matches
Total Complexity |
150 |
Dependencies |
10 |
Dependents |
16 |
Total lines |
839 |
Lines of code |
519 |
Logical lines of code |
303 |
Comment lines |
127 |
Methods |
18 |
Properties |
0 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_all_match_data() |
C |
35 |
23 |
79 |
_validate_filters() |
B |
47 |
24 |
33 |
query_stock() |
A |
40 |
13 |
55 |
get_sets() |
A |
41 |
12 |
55 |
save_sets() |
A |
47 |
13 |
33 |
delete_rows() |
A |
45 |
11 |
42 |
match_raw_stock() |
A |
43 |
10 |
48 |
get_stock_attributes() |
A |
48 |
7 |
33 |
validate_filters() |
S |
56 |
7 |
19 |
match_product_stock() |
S |
56 |
7 |
17 |
get_quantity_range() |
S |
56 |
5 |
18 |
delete_empty_attribute_level_stocks() |
S |
56 |
5 |
17 |
delete_sets() |
S |
58 |
3 |
16 |
get_term_available_quantity() |
S |
62 |
3 |
11 |
add_set() |
S |
54 |
2 |
20 |
get_term_quantity_multiplier() |
S |
63 |
2 |
10 |
get_term_display_quantity() |
S |
66 |
2 |
8 |
query() |
S |
73 |
1 |
5 |